package com.ruoyi.supply.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.Date;

/**
 * 管理员审核日志对象 t_admin_audit_log
 * 
 * @author ruoyi
 * @date 2025-06-06
 */
@Data
@TableName("t_admin_audit_log")
public class TAdminAuditLog
{
    private static final long serialVersionUID = 1L;

    /** id */
    @TableId(type = IdType.ASSIGN_ID)
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    @ApiModelProperty("id")
    private Long id;

    /** 操作类型 */
    @Excel(name = "操作类型")
    @ApiModelProperty("操作类型")
    private String type;

    /** 操作表名 */
    @Excel(name = "操作表名")
    @ApiModelProperty("操作表名")
    private String fkTableName;

    /** 操作相关的id */
    @Excel(name = "操作相关的id")
    @ApiModelProperty("操作相关的id")
    private Long fkTableId;

    /** 相关的用户ID */
    @Excel(name = "相关的用户ID")
    @ApiModelProperty("相关的用户ID")
    private Long fkUserId;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

}
